﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.master"
    CodeBehind="Dodanie_Kapelusza.aspx.cs" Inherits="DEMI_webapp.Dodanie_Kapelusza" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div style="background: url('Styles/images/DodanieKapelsza.png') no-repeat; width: 500px;
        height: 50px; display: block;">
        &nbsp;</div>
    <div>
        <asp:Label ID="Label1" runat="server" Text="Nazwa"></asp:Label>
        &nbsp;&nbsp;
        <asp:TextBox ID="TB_Nazwa" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" ID="reqNazwa" ControlToValidate="TB_Nazwa"
            ErrorMessage="Proszę podać nazwę!" Font-Strikeout="False" ForeColor="red" />
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Kolor"></asp:Label>
        &nbsp;
        <asp:CheckBox ID="CB_Czarny" runat="server" Text="Czarny" />
        &nbsp;
        <asp:CheckBox ID="CB_Bialy" runat="server" Text="Biały" />
        &nbsp;
        <asp:CheckBox ID="CB_Czerwony" runat="server" Text="Czerwony" />
        &nbsp;
        <asp:CheckBox ID="CB_Zielony" runat="server" Text="Zielony" />
        &nbsp;
        <asp:CheckBox ID="CB_Niebieski" runat="server" Text="Niebieski" />
        &nbsp;
        <asp:CheckBox ID="CB_inny" runat="server" OnCheckedChanged="CB_inny_CheckedChanged"
            Text="Inny" AutoPostBack="True" />
        &nbsp;
        <asp:TextBox ID="TB_Inny" runat="server" Enabled="False" AutoPostBack="True"></asp:TextBox>
        <br />
        <br />
        <asp:Label ID="Label3" runat="server" Text="Materiał"></asp:Label>
        &nbsp;&nbsp;
        <asp:TextBox ID="TB_Material" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="TB_Material"
            ErrorMessage="Proszę podać materiał!" Font-Strikeout="False" ForeColor="red" />
        <br />
        <br />
        <asp:Label ID="Label4" runat="server" Text="Cena"></asp:Label>
        &nbsp;&nbsp;
        <asp:TextBox ID="TB_Cena" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator2" ControlToValidate="TB_Cena"
            ErrorMessage="Proszę podać cenę!" Font-Strikeout="False" ForeColor="red" />
        <br />        <br />        <br />        <br />        <br />        <br />        <br />        <br />        <br />        <br />
        <div style="width: 950px; margin: 0 auto; text-align: center">
            <asp:ImageButton ID="Button_Dodaj" runat="server" Width="200" Height="50" OnClick="Button_Dodaj_Click"
                ImageUrl="~/Styles/images/BUTTONdodajKapelusz.png" />
        </div>
        <asp:Label ID="L_uwaga" runat="server" ForeColor="Red"></asp:Label>
        <br />
    </div>
</asp:Content>
